String[]b = new String[]{"我","是","中","国","人"}；
test(b,b);//虽然类型可以转换，但是传递多个参数
System.out.println("--------------------");
int[]c = new int[]{1,2,3};
test(c);
System.out.println("--------------------");
String[][]d = new String[][]{{"我","是","中","国","人"}};
test (d);
public static void test (Object...objects){
	if(objects!=null && object.length>0){
		System.out.println("可变参数长度："+objects.length);
		for(int i=0;i<objects.length;i++){
			System.out.println(objects[i]);
		}
	}
}
